export default [
    {
        path:'/chub/detail/:id',
        name:'chub_detail',
        meta:{
          title:"装备详情"
        },
        component:resolve => require(['./detail.vue'], resolve)
    },
    {
       path:'/chub/list/:id/:type',
       name:'chub_list',
       meta:{
         title:"装备列表"
       },
       component:resolve => require(['./list.vue'],resolve)
    },{
      path:'/chub/goods/:id',
      name:'chub_goods',
      meta:{
        title:"商品清单"
      },
      component:resolve => require(['./goods.vue'],resolve)
  },{
     path:'/chub/comments/:id',
     name:'chub_comments',
     meta:{
       title:"评论"
     },
    component:resolve => require(['./comments.vue'],resolve)
  },{
     path:'/chub/post/:id',
     name:'chub_post',
     meta:{
        title:'发表评论',
        authorization:true
     },
     component:resolve => require(['./post.vue'],resolve)
  }
    ,
    {
       path:'/login/quick',
       name:'login-quicks',
       meta:{
          title:"快速登录"
       },
       component:resolve => require(['./login-quick.vue'],resolve)
    },
  {
    path:'/chub/listActivity/:type',
    name:'chub_activityList',
    meta:{
      title:"装备列表"
    },
    component:resolve => require(['./list-activity.vue'],resolve)
  }
]



// {
//     '/user/coupon': {
//         name: 'user-coupon',
//         doc_title: '优惠券',
//         component: require('./index.vue'),
//         authorization: true,
//         depth: 30
//     },
//     '/user/coupon/online/:id': {
//         name: 'user-coupon-online',
//         doc_title: '优惠券使用规则',
//         component: require('./online-detail.vue'),
//         authorization: true,
//         depth: 40
//     },
//     '/user/coupon/offline/:id': {
//         name: 'user-coupon-offline',
//         doc_title: '使用优惠券',
//         component: require('./offline-detail.vue'),
//         authorization: true,
//         depth: 40
//     },
//     '/user/coupon/over': {
//         name: 'user-coupon-over',
//         doc_title: '失效优惠券',
//         component: require('./over.vue'),
//         authorization: true,
//         depth: 50
//     },
//     '/user/coupon/select': {
//         name: 'user-coupon-select',
//         doc_title: '选择优惠券',
//         component: require('./select.vue'),
//         depth: 60
//     },
//     '/user/coupon/success': {
//         name: 'user-coupon-success',
//         doc_title: '领取成功',
//         component: require('./success.vue'),
//         depth: 70
//     },
//     '/user/coupon/use': {
//         name: 'user-coupon-use',
//         doc_title: '选择优惠券',
//         component: require('./use.vue'),
//         depth: 80
//     },
//     '/user/coupon/exchange': {
//         name: 'user-coupon-exchange',
//         doc_title: '领取优惠券',
//         component: require('./exchange.vue'),
//         depth: 80
//     }
// };
